﻿using System;
using ws_sismun;
using System.Linq;
class Program
{
    static void Main(string[] args)
    {
        using (var db = new Model1Container())
        {
            // Create and save a new Blog 
            Console.Write("Enter a name for a new Blog: ");
            var name = Console.ReadLine();

            var query = from v in db.VecinoSet
                        where v.TipoDocumento == "1" & v.NroDocumento == "07039332"
                        select v;

           
            Console.WriteLine("All blogs in the database:");
            foreach (var item in query)
            {
                
                
                Console.WriteLine( item );
            }

            Console.WriteLine("Press any key to exit...");
            Console.ReadKey();
        }
    }
}